package com.zsrt.java.day20161230.lh.day.demo08;

public class MianJi {
	/**
	 * 求长方形的面积
	 * @param c 长
	 * @param k 高
	 * @return
	 */
	public double qiumianji(double c,double k){
		return c*k;
		
	}
	
	/**
	 *  圆形
	 * @param c
	 * @param k
	 * @return
	 */
	public double qiumianji(double c){
		return c*c*3.14;
		
	}
	public double qiumianji(int c,double k){
		return c*k;
		
	}
}
